package com.ds.infra.rpc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 作用：RPC服务提供者配置属性
 *
 * @author WeiShaoying
 */
@Data
@ConfigurationProperties(prefix = "rpc.provider")
public class RpcProviderProperties {

    private String scanPackage;

    private Integer weight = 1;
}
